import { defineStore } from "pinia";

export const useDanceStore = defineStore({
  id: 'Dance',
  state: () => ({
    dancelist: [{
      aid: 0,
      bvid: '',
      cid: 0,
      copyright: 0,
      ctime: 0,
      desc: '',
      dimension: {},
      duration: 0,
      dynamic: '',
      first_frame: '',
      is_ogv: false,
      mission_id: 0,
      ogv_info: null,
      owner: {},
      pic: '',
      pub_location: '',
      pubdate: 0,
      rcmd_reason: '',
      rights: {},
      season_id: 0,
      season_type: 0,
      short_link: '',
      short_link_v2: '',
      stat: {},
      state: 0,
      tid: 0,
      title: '',
      tname: '',
      videos: 0,

    }]
  }),
  actions: {

  },

  persist: {
    enabled: true,
  },
})